<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../org/angular.min.js"></script>
	</head>
	<body>
		<div ng-app="hd" ng-controller="ctrl">
			
		</div>
		<script>
			var m = angular.module("hd",[]);
			m.controller('ctrl',['$scope',function($scope){
//				console.log(angular.version);  //显示版本号
//				console.log(angular.lowercase("ghDKJFGR"));//小写转换
//              console.log(angular.uppercase("ghahFGR"));//小写转换
                var obj = {name: "ysc"};
                //var obj2 = obj;
                var obj2 = {};
                angular.copy(obj,obj2);  //执行深拷贝
                obj2.name = 'katong';
                console.log(obj.name);
			}]);
		</script>
	</body>
</html>
